package orchestration.android.demo.library;

import orchestration.android.demo.library.model.Library;
import android.database.Cursor;

public class ReturnBookActivity extends ListBookActivity{

	@Override
	protected Cursor getBookCursor() {
		return Library.getInstance().getLoanedBooks(this);
	}

	@Override
	protected void onBookChosen(long id) {
		Library.getInstance().returnBook(this,id,"Carlo");
	}
}
